/*
 * @Author: caofujun
 * @Date: 2020-12-21 14:32:21
 * @Description: 退款管理接口
 */

import request from '@/utils/request'

// 退款列表
export function refundList(params) {
  return request({
    url: 'admin/order/refund/auditList',
    method: 'get',
    params
  })
}

// 退款
export function refund(data) {
  return request({
    url: 'admin/order/refund/audit',
    method: 'post',
    data
  })
}

// 获取订单
export function getorder(params) {
  return request({
    url: 'admin/order/detail',
    method: 'get',
    params
  })
}
